Attributes if you want to marshal the argument as an in out parameter . non - blittable types have different or ambiguous representations in managed and unmanaged languages 非直接复制到本机结构中的类型在托管和非托管语言中具有不同的或不明确的表示形式。
2.
Interop marshaling is a run - time activity performed by the common language runtime s marshaling service . this section provides an overview of the interop marshaling service and presents detailed information about how data types that have different or ambiguous representations in unmanaged memory are marshaled 本节提供互操作封送处理服务的概述,并介绍有关如何封送在非托管内存中具有不同的或不明确的表示形式的数据类型的详细信息。